import Player from "../model/player/player.js";
import Shop from "../model/shop/shop.js";




export default class GoShop {
	buyer: Player;
	shop: Shop = new Shop();
	constructor(buyer: Player) {
		this.buyer = buyer;
	}

	buy(goodsName: string, num: number = 1) {
		return this.shop.buy(this.buyer, goodsName, num);
	}

	getGoodsStr() {
		return this.shop.getGoodsStr();
	}
}